from flask import Blueprint, request
from server.result.result import Result
from server.service.user_service import UserService

register_api = Blueprint('register_api', __name__)


@register_api.route("/get_all", methods=["GET"])
def register():
    # data = request.get_json()

    result = UserService.select_all()
    print(result)
    # UserService.add_user(request.get_json())
    return Result.success()

